<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户查询展示页面</title>
</head>
<body>
  <form action="">
   <table align="center" bordercolor="green" border="2px">
     <tr>
      <td>序号</td>
      <td>用户名</td>
      <td>邮箱</td>
      <td>状态</td>
      <td>操作</td>
     </tr>  
      <c:forEach var="map" varStatus="i" items="${list_user}"> 
      <tr>
      <td>${i.count}</td>
      <td>${map.username}</td>
      <td>${map.email}</td>
      <c:if test="${map.ustate==1}">
      <td>没有激活</td>
      </c:if>
       <c:if test="${map.ustate==2}">
      <td>已经激活</td>
      </c:if>
       <c:if test="${map.ustate==2}">
      <td>添加  修改  删除</td>
      </c:if>
       <c:if test="${map.ustate==1}">
      <td>请先去邮箱激活链接</td>
      </c:if>
     </tr>   
   </c:forEach>
   </table>
  </form>
</body>
</html>